﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2024-09-15 16:11
    /// 描 述：实体类
    /// </summary>
    [Table("storeGoodsAttr")]
    public class StoreGoodsAttrEntity : BaseEntity
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? goods_id { get; set; }
        /// <summary>
        /// 属性名
        /// </summary>
        /// <returns></returns>
        public string attr_name { get; set; }
        /// <summary>
        /// 属性值
        /// </summary>
        /// <returns></returns>
        public string attr_values { get; set; }
        /// <summary>
        /// 是否删除,0-否，1-是
        /// </summary>
        /// <returns></returns>
        public int? is_del { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        /// <returns></returns>
        public int? count { get; set; }
    }
}
